{include file="common/header"}
<link rel="stylesheet" href="__CSS__/post.css">
</head>
<body>
    <!-- 1908080121李定邦、1902030115李龙烽 -->
    <div class="top" style="background-color: #fff;">
<!--        <div class="sreach-right">-->
<!--            <div class="top-right-title">-->
<!--                <a href=""></a><img src="__PIC__/thinkphp-logo.png" alt="">-->
<!--            </div>-->
<!--            <div class="sreach">-->
<!--                <input  class="form-control" required type="search" name='keyword' placeholder="搜索帖子" />-->
<!--            </div>-->
<!--            <div class="sreach-ul">-->
<!--                <ul><img src="__PIC__/guanwang.png" alt="">官网</ul>-->
<!--                <ul><img src="__PIC__/wendang.png" alt="">文档</ul>-->
<!--                <ul><img src="__PIC__/boke.png" alt="">博客</ul>-->
<!--                <ul><img src="__PIC__/yunfuwu.png" alt="">云服务</ul>-->
<!--            </div>-->
<!--            {if session('uNick') != null}-->
<!--            <div style="display: flex;flex-direction: column;">-->
<!--                <img src="__POT__/{:cookie('uImg')}" alt="" style="width: 50px;height: 50px;margin-left: -5px;border-radius: 10px;margin-right: -15px;"> -->
<!--                <a style="margin-left: -5px;color: black;">欢迎你：{:session('uNick')} </a>-->
<!--                -->
<!--            </div>-->
<!--            {else/}-->
<!--            <div class="top-right">-->
<!--                <div class="puton">-->
<!--                    <a href="{:url('user/login')}">-->
<!--                        <input type="button" style="color: white;" value="立即登录">-->
<!--                    </a>-->
<!--                    <a href="{:url('user/register')}">-->
<!--                        <input type="button" style="color: white;" value="注册">-->
<!--                    </a>-->
<!--                    <a href="{:url('user/logout')}">-->
<!--                        <input type="button" style="color: white;" value="注销">-->
<!--                    </a>-->
<!--                </div> -->
<!--            </div>-->
<!--            {/if}-->
<!--        </div>-->
        {include file="common/top"}
    </div>
    <div class="main">
        <div class="sreach-center1">
            <a href=""></a><img src="__PIC__/thinkphp-login.png" alt="">
        </div>
        <div class="content">
            <div class="content-topAndRight" style="margin-top :10px;">
            <form action="{:url('index/dopost')}" method="post">
                <h3>{:session('uNick')}  {:date('Y-m-d')}</h3>
            <div class="content-top">
                <div class="findAndChooseBug">
                    {if input('sid') != 0}
                    <div class="findBug">
                        <img src="__PIC__/mmchong.png" alt="">
                        <!-- <span>我找到一个BUG</span> -->
                        <span>{$sec[0]['s_name']}</span>
                        <input type="hidden" name="sid" value="{$sec[0]['s_id']}">
                    </div>
                    {else/}
                    <div class="findBug">
                        <img src="__PIC__/mmchong.png" alt="">
                        <select name="sid" id="">
                            {volist name='sec' id='secRow'}
                            <option value="{$secRow.s_id}">{$secRow.s_name}</option>
                            {/volist}
                        </select>
                    </div>
                    {/if}
                </div>
                <div class="speakBug" style="margin: 0px 0 10px 10px ">
                    <input name="mtitle" placeholder="输入标题"/>
                </div>
                <div class="speakBug">
                    <textarea name="mcontent" id="" cols="30" rows="10" placeholder="期待您的发言..."></textarea>
                </div>
            </div>
            <div class="content-bottom">
                <div><span>剩余500字</span></div>
                <div class="content-bottom-pinglun">
                    <input type="submit" value="评论">
                </div>
            </div>
            </form>
            </div>
        </div>
        <div class="end">
            <p>ThinkPHP知识库</p>
            <p>顶想云提供技术支持</p>
            <p>沪ICP备12007941号-2</p>
        </div>
    </div>
</body>
<style>
</style>
</html>